package main

import "fmt"
import "FreqCtrl"

func main() {
	err := FreqCtrl.SetUserFreq("yang", "ad1", "3")

	if err != nil {
		fmt.Println(err)
	}

	reply, err := FreqCtrl.GetUserFreq("yang")

	if err != nil {
		fmt.Println(err)
	}

	fmt.Printf("%T \n", reply)

	for k, v := range reply {
		fmt.Printf("%s---%d\n", k, v)
	}
}
